
public class string15 {

	public static void main(String[] args)throws Exception
	{
		String str = "nkjsdfks-aaa-fgkld-aaa-fkgl", strFind = "aaa", strReplace = "bbbbb";
		str = str.replace(strFind, strReplace);
		System.out.println(str);
	}

}
